package com.woniuxy.daos;

import com.woniuxy.entitys.TbHospitalManager;
import com.woniuxy.entitys.TbHospitalManagerExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbHospitalManagerDao {
    long countByExample(TbHospitalManagerExample example);

    int deleteByExample(TbHospitalManagerExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbHospitalManager record);

    int insertSelective(TbHospitalManager record);

    List<TbHospitalManager> selectByExample(TbHospitalManagerExample example);

    TbHospitalManager selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbHospitalManager record, @Param("example") TbHospitalManagerExample example);

    int updateByExample(@Param("record") TbHospitalManager record, @Param("example") TbHospitalManagerExample example);

    int updateByPrimaryKeySelective(TbHospitalManager record);

    int updateByPrimaryKey(TbHospitalManager record);

    Integer selectHid(Integer uid);

    List<TbHospitalManager> getAllHospManger(@Param("input") String input);


    int updateMangerById(@Param("id") Integer id,@Param("flag") Integer flag);


    TbHospitalManager getHidAndDidByUid(Integer uid);


    int updHospMangerInfos(TbHospitalManager tbHospitalManager);
}